package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import com.heima.model.wemedia.dtos.AdWmNewsDto;
import com.heima.model.wemedia.dtos.NewsAuthDto;
import com.heima.model.wemedia.pojos.WmNews;


public interface AdNewsAuthService extends IService<WmNews> {
    /**
     * 对要进行人工审核的文章的列表查询
     *
     * @param dto
     * @return
     */
    ResponseResult list_vo(AdWmNewsDto dto);

    ResponseResult authFail(NewsAuthDto dto);

    ResponseResult authPass(NewsAuthDto dto);

    /**
     * 根据id查询文章详情
     * @param id
     * @return
     */
    ResponseResult one_vo(int id);
}
